home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 10461 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  1.2 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6a 62 | 6c 68 6f 6d 65 2e 70 69 |Path: jb|lhome.pi|
|00000010| 6e 67 2e 64 6b 21 75 73 | 65 6e 65 74 0a 46 72 6f |ng.dk!us|enet.Fro|
|00000020| 6d 3a 20 6a 61 63 6f 62 | 40 6a 62 6c 68 6f 6d 65 |m: jacob|@jblhome|
|00000030| 2e 70 69 6e 67 2e 64 6b | 20 28 4a 61 63 6f 62 20 |.ping.dk| (Jacob |
|00000040| 4c 6f 72 65 6e 73 65 6e | 29 0a 4e 65 77 73 67 72 |Lorensen|).Newsgr|
|00000050| 6f 75 70 73 3a 20 63 6f | 6d 70 2e 75 6e 69 78 2e |oups: co|mp.unix.|
|00000060| 70 72 6f 67 72 61 6d 6d | 65 72 2c 63 6f 6d 70 2e |programm|er,comp.|
|00000070| 6c 61 6e 67 2e 63 0a 53 | 75 62 6a 65 63 74 3a 20 |lang.c.S|ubject: |
|00000080| 52 65 3a 20 67 65 74 74 | 69 6e 67 20 77 69 6e 64 |Re: gett|ing wind|
|00000090| 6f 77 20 73 69 7a 65 73 | 20 69 6e 74 6f 20 63 20 |ow sizes| into c |
|000000a0| 63 6f 64 65 0a 46 6f 6c | 6c 6f 77 75 70 2d 54 6f |code.Fol|lowup-To|
|000000b0| 3a 20 63 6f 6d 70 2e 75 | 6e 69 78 2e 70 72 6f 67 |: comp.u|nix.prog|
|000000c0| 72 61 6d 6d 65 72 0a 44 | 61 74 65 3a 20 31 37 20 |rammer.D|ate: 17 |
|000000d0| 4d 61 72 20 31 39 39 36 | 20 31 30 3a 31 35 3a 33 |Mar 1996| 10:15:3|
|000000e0| 31 20 2b 30 31 30 30 0a | 4f 72 67 61 6e 69 7a 61 |1 +0100.|Organiza|
|000000f0| 74 69 6f 6e 3a 20 4a 61 | 63 6f 62 73 20 68 6f 6d |tion: Ja|cobs hom|
|00000100| 65 20 63 6f 6d 70 75 74 | 65 72 2e 0a 53 65 6e 64 |e comput|er..Send|
|00000110| 65 72 3a 20 6a 61 63 6f | 62 40 70 69 70 70 69 6e |er: jaco|b@pippin|
|00000120| 2e 6a 62 6c 68 6f 6d 65 | 2e 70 69 6e 67 2e 64 6b |.jblhome|.ping.dk|
|00000130| 0a 4d 65 73 73 61 67 65 | 2d 49 44 3a 20 3c 6d 31 |.Message|-ID: <m1|
|00000140| 33 66 37 38 75 6c 6c 37 | 2e 66 73 66 40 70 69 70 |3f78ull7|.fsf@pip|
|00000150| 70 69 6e 2e 6a 62 6c 68 | 6f 6d 65 2e 70 69 6e 67 |pin.jblh|ome.ping|
|00000160| 2e 64 6b 3e 0a 52 65 66 | 65 72 65 6e 63 65 73 3a |.dk>.Ref|erences:|
|00000170| 20 3c 34 69 63 6e 30 68 | 24 61 6f 64 40 6c 69 6e | <4icn0h|$aod@lin|
|00000180| 75 78 2e 63 70 73 63 2e | 75 63 61 6c 67 61 72 79 |ux.cpsc.|ucalgary|
|00000190| 2e 63 61 3e 0a 4e 4e 54 | 50 2d 50 6f 73 74 69 6e |.ca>.NNT|P-Postin|
|000001a0| 67 2d 48 6f 73 74 3a 20 | 70 69 70 70 69 6e 2e 6a |g-Host: |pippin.j|
|000001b0| 62 6c 68 6f 6d 65 2e 70 | 69 6e 67 2e 64 6b 0a 4d |blhome.p|ing.dk.M|
|000001c0| 69 6d 65 2d 56 65 72 73 | 69 6f 6e 3a 20 31 2e 30 |ime-Vers|ion: 1.0|
|000001d0| 0a 43 6f 6e 74 65 6e 74 | 2d 54 79 70 65 3a 20 74 |.Content|-Type: t|
|000001e0| 65 78 74 2f 70 6c 61 69 | 6e 3b 20 63 68 61 72 73 |ext/plai|n; chars|
|000001f0| 65 74 3d 69 73 6f 2d 38 | 38 35 39 2d 31 0a 43 6f |et=iso-8|859-1.Co|
|00000200| 6e 74 65 6e 74 2d 54 72 | 61 6e 73 66 65 72 2d 45 |ntent-Tr|ansfer-E|
|00000210| 6e 63 6f 64 69 6e 67 3a | 20 38 62 69 74 0a 49 6e |ncoding:| 8bit.In|
|00000220| 2d 72 65 70 6c 79 2d 74 | 6f 3a 20 6b 61 79 65 40 |-reply-t|o: kaye@|
|00000230| 63 70 73 63 2e 75 63 61 | 6c 67 61 72 79 2e 63 61 |cpsc.uca|lgary.ca|
|00000240| 27 73 20 6d 65 73 73 61 | 67 65 20 6f 66 20 31 35 |'s messa|ge of 15|
|00000250| 20 4d 61 72 20 31 39 39 | 36 20 32 31 3a 32 31 3a | Mar 199|6 21:21:|
|00000260| 32 31 20 47 4d 54 0a 58 | 2d 4e 65 77 73 72 65 61 |21 GMT.X|-Newsrea|
|00000270| 64 65 72 3a 20 47 6e 75 | 73 20 76 35 2e 31 0a 0a |der: Gnu|s v5.1..|
|00000280| 3e 3e 3e 3e 3e 20 22 44 | 6f 75 67 6c 61 73 22 20 |>>>>> "D|ouglas" |
|00000290| 3d 3d 20 44 6f 75 67 6c | 61 73 20 4b 61 79 65 20 |== Dougl|as Kaye |
|000002a0| 3c 6b 61 79 65 40 63 70 | 73 63 2e 75 63 61 6c 67 |<kaye@cp|sc.ucalg|
|000002b0| 61 72 79 2e 63 61 3e 20 | 77 72 69 74 65 73 3a 0a |ary.ca> |writes:.|
|000002c0| 0a 20 20 20 20 44 6f 75 | 67 6c 61 73 3e 20 44 6f |. Dou|glas> Do|
|000002d0| 65 73 20 61 6e 79 6f 6e | 65 20 6b 6e 6f 77 20 68 |es anyon|e know h|
|000002e0| 6f 77 20 49 20 63 61 6e | 20 67 65 74 20 74 68 65 |ow I can| get the|
|000002f0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 72 6f 77 73 20 | number |of rows |
|00000300| 61 6e 64 0a 20 20 20 20 | 44 6f 75 67 6c 61 73 3e |and. |Douglas>|
|00000310| 20 63 6f 6c 75 6d 6e 73 | 20 69 6e 20 61 20 77 69 | columns| in a wi|
|00000320| 6e 64 6f 77 20 69 6e 74 | 6f 20 61 20 70 69 65 63 |ndow int|o a piec|
|00000330| 65 20 6f 66 20 43 20 63 | 6f 64 65 20 49 20 61 6d |e of C c|ode I am|
|00000340| 0a 20 20 20 20 44 6f 75 | 67 6c 61 73 3e 20 77 72 |. Dou|glas> wr|
|00000350| 69 74 74 69 6e 67 2e 0a | 0a 20 20 20 20 44 6f 75 |itting..|. Dou|
|00000360| 67 6c 61 73 3e 20 49 20 | 68 61 76 65 20 74 6f 20 |glas> I |have to |
|00000370| 74 61 6b 65 20 69 6e 74 | 20 61 63 63 6f 75 6e 74 |take int| account|
|00000380| 20 72 65 73 69 7a 69 6e | 67 2e 0a 0a 54 68 65 20 | resizin|g...The |
|00000390| 6f 6e 6c 79 20 77 61 79 | 20 49 20 6b 6e 6f 77 20 |only way| I know |
|000003a0| 6f 66 20 69 73 20 75 73 | 69 6e 67 20 61 6e 20 69 |of is us|ing an i|
|000003b0| 6f 63 74 6c 20 63 61 6c | 6c 2c 20 69 2e 65 2e 3a |octl cal|l, i.e.:|
|000003c0| 0a 0a 20 20 20 20 23 69 | 6e 63 6c 75 64 65 20 3c |.. #i|nclude <|
|000003d0| 74 65 72 6d 69 6f 73 2e | 68 3e 0a 20 20 20 20 73 |termios.|h>. s|
|000003e0| 74 72 75 63 74 20 77 69 | 6e 73 69 7a 65 20 77 73 |truct wi|nsize ws|
|000003f0| 3b 0a 0a 20 20 20 20 69 | 6f 63 74 6c 28 53 54 44 |;.. i|octl(STD|
|00000400| 4f 55 54 5f 46 49 4c 45 | 4e 4f 2c 20 54 49 4f 43 |OUT_FILE|NO, TIOC|
|00000410| 47 57 49 4e 53 5a 2c 20 | 26 77 73 29 3b 0a 20 20 |GWINSZ, |&ws);. |
|00000420| 20 20 66 70 72 69 6e 74 | 66 28 73 74 64 6f 75 74 | fprint|f(stdout|
|00000430| 2c 20 22 52 6f 77 73 3d | 25 64 2c 20 43 6f 6c 73 |, "Rows=|%d, Cols|
|00000440| 3d 25 64 5c 6e 22 2c 20 | 77 73 2e 77 73 5f 72 6f |=%d\n", |ws.ws_ro|
|00000450| 77 2c 20 77 73 2e 77 73 | 5f 63 6f 6c 29 3b 0a 0a |w, ws.ws|_col);..|
|00000460| 4a 61 63 6f 62 2e 0a 2d | 2d 20 0a 50 47 50 20 4b |Jacob..-|- .PGP K|
|00000470| 65 79 20 66 69 6e 67 65 | 72 70 72 69 6e 74 20 3d |ey finge|rprint =|
|00000480| 20 20 31 45 20 38 37 20 | 32 36 20 34 36 20 37 34 | 1E 87 |26 46 74|
|00000490| 20 33 36 20 44 43 20 34 | 41 20 20 37 32 20 33 42 | 36 DC 4|A 72 3B|
|000004a0| 20 36 36 20 37 38 20 43 | 35 20 41 44 20 39 45 20 | 66 78 C|5 AD 9E |
|000004b0| 37 31 0a 50 47 50 20 50 | 75 62 6c 69 63 20 6b 65 |71.PGP P|ublic ke|
|000004c0| 79 20 61 76 61 69 6c 61 | 62 6c 65 20 61 74 20 74 |y availa|ble at t|
|000004d0| 68 65 20 6b 65 79 73 65 | 72 76 65 72 73 2e 0a |he keyse|rvers.. |
+--------+-------------------------+-------------------------+--------+--------+